<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>企业简介</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <LINK href="resource/css/admin.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="<%=basePath%>scripts/ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
      // function  checkaddInformation(){
        //   String.prototype.trim=function(){
        //         return this.replace(/(^\s*)|(\s*$)/g, "");
        //    }
       //   var  content=document.getElementById("content").value;
        //  var  contentvalue=content.trim();
       //   if(contentvalue==""){
       //      alert('请填写公司简介');
       //      return false;
       //   }
       //   if(contentvalue.length<15 ){
        //         alert("公司简介内容必须大于15个字");
        //         return false;
        //   }
         //  return true;
     //  }
       // function  resetContent(){
         //    var  content=document.getElementById("content");
         //    alert(content.value);
      //  }
    </script>
  </head>
  
  <body>
     <div align="center">公司简介</div>
     <div align="center">
       <form action="<%=basePath%>content/addOrEditCompanyMes.shtml"  method="post">
           标题：<input type="text" readonly="readonly" value="公司简介"/>
         <input type="hidden" name="syscontent.id" value="${syscontent.id}" />
         <textarea id="content" name="syscontent.content" cols="28" rows="20">
            ${syscontent.content}
         
         
         </textarea>
         <input type="submit" value="保存"/> &nbsp;&nbsp; <input type="reset" value="重置" />
       
       </form>
     
     
     </div>
     <script type="text/javascript">  
	//filebrowserUploadUrl ： 配置路径 Type 为不同类型文件在userfiles中存放的文件夹名
   					var editor = CKEDITOR.replace('content',{filebrowserUploadUrl : '../ckeditor/uploader?Type=File',   
									filebrowserImageUploadUrl : '../ckeditor/uploader?Type=Image',   
									filebrowserFlashUploadUrl : '../ckeditor/uploader?Type=Flash'  
   					});   
	</script>
  </body>
</html>
